# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=py3-wcmatch
_pkgname=wcmatch
pkgver=8.3
pkgrel=0
pkgdesc="wilcard file name matching library"
url="https://facelessuser.github.io/wcmatch/"
arch="noarch"
license="MIT"
depends="py3-bracex"
makedepends="py3-setuptools py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	pytest -v
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
26dd03ea28b0414b6f423a580bbe1fb79e5f13d56c45907a8b27d538f003e38f805ff7177d32738514d6a96eac5d3fc2b2aac16309f033a27ab4e16c2f706a70  wcmatch-8.3.tar.gz
"
